package com.app.stick.visit.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.app.common.annotation.Excel;
import com.app.common.core.domain.BaseEntity;

/**
 * 患者就诊信息对象 biz_patient_visit
 *
 * @author app
 * @date 2023-12-16
 */
@Data
@TableName(value = "biz_patient_visit" )
@ApiModel(value = "BizPatientVisit" , description = "患者就诊信息对象" )
public class BizPatientVisit extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 患者就诊ID */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "患者就诊ID")
    private String visitId;

    /** 患者档案ID */
    @Excel(name = "患者档案ID")
    @ApiModelProperty(value = "患者档案ID")
    private String patientId;

    /** 患者就诊日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "患者就诊日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "患者就诊日期")
    private Date visitDate;

    /** 患者就诊年龄 */
    @Excel(name = "患者就诊年龄")
    @ApiModelProperty(value = "患者就诊年龄")
    private Integer visitAge;

    /** 患者就诊号 */
    @Excel(name = "患者就诊号")
    @ApiModelProperty(value = "患者就诊号")
    private String visitCode;

    /** 患者床号 */
    @Excel(name = "患者床号")
    @ApiModelProperty(value = "患者床号")
    private String visitBed;

    /** 患者就诊科室 */
    @Excel(name = "患者就诊科室")
    @ApiModelProperty(value = "患者就诊科室")
    private String deptId;

    /** 患者就诊状态(1=在院,2=出院) */
    @Excel(name = "患者就诊状态(1=在院,2=出院)")
    @ApiModelProperty(value = "患者就诊状态(1=在院,2=出院)")
    private String visitStatus;

    /** 患者就诊医生 */
    @Excel(name = "患者就诊医生")
    @ApiModelProperty(value = "患者就诊医生")
    private String visitDoctor;

    /** 删除标志（0=正常,1=删除） */
    @Excel(name = "删除标志", readConverterExp = "0==正常,1=删除")
    @ApiModelProperty(value = "删除标志（0=正常,1=删除）")
    private String delFlag;


}
